Security key generator module for security sensitive applications

ABSTRACT

In one embodiment, a system includes a sender host having a processing circuit and logic integrated with and/or executable by the processing circuit. The logic is configured to cause the processing circuit to select a plurality of base parameters commonly identifiable by a sender host and a receiver host and determine at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters. The logic also causes the processing circuit to generate a unique security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred, generate the unique security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred, and send, by the sender host, a message including the unique security key to the receiver host.

FIELD OF THE INVENTION

The present invention relates to network and system protection, and more particularly, this invention relates to a key generator module that operates within an application and data protection layer (ADPL).

BACKGROUND

Applications are made up of a large number of instructions and data. Instructions operate on data which is fetched in a cache and memory and is always unencrypted. Scaled-out, distributed applications are made up of a large number of application instances. These application instances have their own data in the cache and memory of the processor on which these applications run. A large number of such application instances communicate with each other and process data in parallel to create an aggregate output.

These types of scaled-out applications are extremely vulnerable to application breaches, data thefts from cache and memory by scraping, and other methods of illicitly obtaining data from the applications, cache, and/or memory. In data centers which cater to important applications and data types, such as Personally Identifiable Information (PII), Payment Card Industry (PCI) data, medical information that falls under Health Insurance Portability and Accountability Act (HIPAA), military and Government critical tasks, any application and/or data breach is very destructive and expensive to contain and/or resolve. Therefore, it is beneficial to attempt to prevent such breaches.

For systems like data centers and data center applications operating therein, enterprise applications, etc., data encryption and decryption is performed using secure keys. However, secure key generation is a challenge, and is subject to its own breaches and snooping. Protocols like Secure Sockets Layer (SSL), Internet Protocol Security (IPSEC), etc., perform complete packet encryption before sending data across the Internet Protocol (IP) layer.

SUMMARY

In one embodiment, a method includes selecting a plurality of base parameters commonly identifiable by a sender host and a receiver host, determining at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters, generating a unique security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred, generating the unique security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred, and sending, by the sender host, a message including the unique security key to the receiver host.

According to another embodiment, a computer program product includes a computer readable storage medium having program instructions stored thereon. The program instructions are executable by a processing circuit to cause the processing circuit to: select a plurality of base parameters commonly identifiable by a sender host and a receiver host, determine at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters, generate a unique security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred, generate the unique security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred, and send, by the sender host, a message including the unique security key to the receiver host.

In yet another embodiment, a system includes a sender host having a processing circuit and logic integrated with and/or executable by the processing circuit. The logic is configured to cause the processing circuit to: select a plurality of base parameters commonly identifiable by a sender host and a receiver host; determine at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters; generate a unique security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred; generate the unique security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred; and send, by the sender host, a message including the unique security key to the receiver host.

The embodiments described above may be implemented in any computing system environment known in the art, such as a networking environment, which may include a processor and a computer readable storage medium configured to store data and logic, the logic being implemented with and/or executable by the processor to cause the processor to perform one or more functions.

BRIEF DESCRIPTION OF THE DRAWINGS

The following descriptions of the drawings are not meant to be limiting on what is taught by the drawings in any manner. For a fuller understanding of the content of each drawing, the following brief descriptions are provided, which when read in conjunction with the detailed description, describe the full breadth of the various embodiments of the present invention.

FIG. 1 shows a network architecture, according to one embodiment.

FIG. 2 shows a hardware environment that may be associated with the network architecture of FIG. 1, according to one embodiment.

FIG. 3 shows a logical representation of an application instance operating on a computing system, in accordance with one embodiment.

FIG. 4 shows several application instances operating in a virtual environment, according to one embodiment.

FIG. 5 shows an exchange of capabilities with intermediate devices and peer applications, according to one embodiment.

FIG. 6 shows a block diagram of a secure key generator according to one embodiment.

FIG. 7 shows a flowchart of a method, according to one embodiment.

DETAILED DESCRIPTION

The descriptions presented herein are intended to enable any person skilled in the art to make and use the present invention and are provided in the context and requirements of particular applications of the present invention.

Unless otherwise specifically defined herein, all terms are to be given their broadest possible interpretation including meanings implied from the specification as well as meanings understood by those skilled in the art and/or as defined in dictionaries, treatises, etc. It must also be noted that, as used in the specification and the appended claims, the singular forms “a,” “an,” and “the” include plural referents unless otherwise specified.

Moreover, the term “about” when used herein to modify a value indicates a range that includes the value and less and greater than the value within a reasonable range. In the absence of any other indication, this reasonable range is plus and minus 10% of the value. For example, “about to milliseconds” indicates to ms±1 ms, such that the range includes all values in a range including 9 ms up to and including 11 ms.

Also, the term “comprise” indicates an inclusive list of those elements specifically described without exclusion of any other elements. For example, “a list comprises red and green” indicates that the list includes, but is not limited to, red and green. Therefore, the list may also include other colors not specifically described.

Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown and described herein, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

In particular, various embodiments of the invention discussed herein may be implemented using a network, such as the Internet, to communicate among a plurality of computer systems. One skilled in the art will recognize that the present invention is not limited to the use of the Internet as a communication medium and that alternative methods of the invention may accommodate the use of a private intranet, a Local Area Network (LAN), a Wide Area Network (WAN), or other communication media. In addition, various combinations of wired (e.g., Ethernet), wireless (e.g., radio frequency) and optical communication links (e.g., fiber optic) may be utilized.

The term application as used herein refers to any type of software and/or hardware-based application, such as enterprise data center applications, Internet-of-Things (IOT) applications, Industrial control applications, military applications, etc.

Enterprise data center applications may include any of the following application types: financial applications, equity trading applications, healthcare applications, financial transaction applications, etc.

IOT applications may include any of the following application types: mobile communication applications, home automation/control applications, industrial automation/control applications, security and monitoring applications, etc.

Industrial control applications may include any of the following application types: nuclear power plant control, thermal power plant control, hydro-electric power plant control, wind farm control, electricity grid and distribution control, water treatment control, land-based traffic control, air traffic control, etc.

Military applications may include any of the following application types: military installation control, first alert system control, autoguided weapon system control, military weaponized equipment control including manned vehicles, weaponized and/or surveillance-oriented unmanned vehicle control (drones) such as unmanned aerial vehicles (UAVs), unmanned aircraft systems (UASs), unmanned underwater vehicles (UUVs), unmanned ground vehicles (UGVs), etc.

A program environment in which one embodiment may be executed illustratively incorporates one or more general-purpose computers and/or special-purpose devices, such as switches, routers, switch controllers, etc. Details of such devices (e.g., processor, memory, data storage, input devices, and output devices) are well known and are omitted for the sake of clarity.

It should also be understood that the techniques of the present invention may be implemented using a variety of technologies. For example, the methods described herein may be implemented in software running on a computer system, implemented in hardware utilizing one or more hardware processors and logic (hardware logic and/or software logic) implemented with and/or executable by the hardware processor. The logic is configured to cause the processor to perform operations of a method, and may take any form known to those of skill in the art, such as application specific integrated circuits (ASICs), programmable logic devices such as Field Programmable Gate Arrays (FPGAs), and/or various combinations thereof.

In one illustrative approach, methods described herein may be implemented by a series of computer-executable instructions stored to a computer readable storage medium, such as a physical (e.g., non-transitory) data storage medium. In addition, although specific embodiments may employ object-oriented software programming concepts, the present invention is not so limited and is adaptable to employ other forms of directing the operation of a processor.

The present invention may also be provided in the form of a computer program product comprising a computer readable storage medium having program instructions thereon or a computer readable signal medium having program instructions therein, which may be executed by a computing device (e.g., a processor) and/or a system. A computer readable storage medium may include any medium capable of storing program instructions thereon for use by a computing device or system, including optical media such as read only and writeable CDs and DVDs, magnetic memory or media (e.g., hard disk drive, magnetic tape, etc.), semiconductor memory (e.g., FLASH memory, non-volatile random access memory (NVRAM), and other non-volatile storage media known in the art), firmware encoded in a microprocessor, etc.

A computer readable signal medium is one that does not fit within the aforementioned computer readable storage medium definitions. For example, illustrative computer readable signal media communicate or otherwise transfer transitory signals within a system, between systems, etc., e.g., via a physical or virtual network having a plurality of connections.

FIG. 1 illustrates an architecture 100, in accordance with one embodiment. As an option, the present architecture too may be implemented in conjunction with features from any other embodiment listed herein, such as those described with reference to the other figures. Of course, however, such architecture 100 and others presented herein may be used in various applications and/or in permutations which may or may not be specifically described in the illustrative embodiments listed herein. Further, the architecture too presented herein may be used in any desired environment.

As shown in FIG. 1, a plurality of remote networks are provided including a first remote network 104 and a second remote network 106. A gateway 102 may be coupled between the remote networks 104, 106 and a proximate network 108. In the context of the present network architecture 100, the networks 104, 106 may each take any form including, but not limited to, a LAN, a WAN such as the Internet, a storage area network (SAN), a public switched telephone network (PSTN), an internal telephone network, etc. Additional networks 110, 112 may also be connected via the gateway 102 or some other connection device known in the art. These networks may be of a different type than the networks 104, 106. For example, network 110 may be a network devoted to the IOT, and may provide infrastructure and protocols for communication between all devices in the IOT, and between any devices in the IOT and the networks 104, 106. In another example, network 112 may be a network devoted to Industrial control, and may provide infrastructure and protocols for communication within and/or between facilities anywhere in the world, including automated devices, manufacturing lines, assembly lines, processing control software, etc.

In use, the gateway 102 serves as an entrance point from the remote networks 104, 106 to the proximate network 108. As such, the gateway 102 may function as a router, which is capable of directing a given packet of data that arrives at the gateway 102, and a switch, which furnishes the actual path in and out of the gateway 102 for a given packet.

Further included in the network architecture 100 is at least one data server 114 coupled to the proximate network 108, and which is accessible from the remote networks 104, 106 via the gateway 102. It should be noted that the data server(s) 114 may include any type of computing device/groupware. Coupled to each data server 114 is a plurality of user devices 116. User devices 116 may include any device known by those of skill in the art, such as a desktop computer, a laptop computer, a hand-held computer, a smartphone, a terminal, a port, a printer, some type or form of logic, etc. It should be noted that a user device 122 may also be directly coupled to any of the networks, in one embodiment.

A peripheral 120 or series of peripherals 120, e.g., facsimile machines, printers, networked storage units, hard disk drives, wireless routers, etc., may be coupled to one or more of the networks 104, 106, 108, 110, 112. It should be noted that databases, servers, mainframes, and/or additional components may be utilized with and/or integrated into any type of network element coupled to the networks 104, 106, 108, 110, 112. In the context of the present descriptions, a network element may refer to any component of a network, system, device, and/or any device useable in a network.

According to some approaches, methods and systems described herein may be implemented with and/or utilized on virtual systems and/or systems which emulate one or more other systems, such as a UNIX system which emulates a MAC OS environment, a UNIX system which virtually hosts a MICROSOFT WINDOWS environment, a MICROSOFT WINDOWS system which emulates a MAC OS environment, etc. This virtualization and/or emulation may be enhanced through the use of virtualization software, such as VMWARE ESX, MICROSOFT HYPER-V, SIMICS, etc., in some embodiments.

In more approaches, one or more of the networks 104, 106, 108, 110, 112 may represent a cluster of systems commonly referred to as a “cloud.” In cloud computing, shared resources, such as processing power, peripherals, software, data processing, servers, storage, etc., are provided to any system that has access to the cloud and permission to access the specific resource, preferably in an on-demand relationship, thereby allowing access and distribution of services across many computing systems. Cloud computing typically involves an Internet or other high speed connection (e.g., 4G LTE, fiber optic, etc.) between the systems operating in the cloud, but other techniques of connecting the systems may also be used as would be understood by those of skill in the art.

FIG. 2 shows a representative hardware environment associated with a user device 116 and/or a server 114 of FIG. 1, in accordance with one embodiment. FIG. 2 illustrates a typical hardware configuration of a workstation 200 having a central processing unit 202, such as a microprocessor, and a number of other units interconnected via a system bus 204.

The workstation 200 shown in FIG. 2 includes a Random Access Memory (RAM) 214, Read Only Memory (ROM) 216, an I/O adapter 218 configured to connect peripheral devices, such as disk storage units 220 to the bus 204, a user interface adapter 222 configured to connect a keyboard 224, a mouse 226, a speaker 228, a microphone 230, and/or other user interface devices such as a touch screen, a digital camera, etc., (not shown) to the bus 204, communication adapter 210 configured to connect the workstation 200 to a communication network 206 (e.g., a data processing network) and a display adapter 212 configured to connect the bus 204 to a display device 208.

The workstation 200 may have resident thereon an operating system, such as the MICROSOFT WINDOWS Operating System (OS), a MAC OS, a UNIX OS, etc. It will be appreciated that a preferred embodiment may also be implemented on platforms and operating systems other than those specifically mentioned herein. A preferred embodiment may be written using JAVA, XML, C, and/or C++ language, SCALA, COBOL, FORTRAN, or other programming languages, along with an object oriented programming methodology or scripting language such as PERL, PYTHON, Tcl/Tk, or other scripting languages. Object oriented programming (OOP), which has become increasingly used to develop complex applications, may also be used.

Moreover, one or more hardware processors may be implemented in a processing circuit in the workstation 200. The processing circuit includes the one or more hardware processors, along with any connections or links therebetween necessary to interconnect the one or more processors in the processing circuit. In addition, the processing circuit may be implemented with logic and/or may be configured to execute logic, with the logic being configured to cause the processing circuit to perform functionality specified by the logic.

Now referring to FIG. 3, a logical representation of an application instance 306 operating on a computing system 300 is shown according to one embodiment. Although only one application instance 306 and one set of data 308 is shown in FIG. 3, as would be understood by one of skill in the art, any number of application instances and groups of data may be hosted on a computing system 300, limited only by the processing power and/or other resources available to the computing system 300.

As shown in FIG. 3, an application protection layer (APL) 302 and a data protection layer (DPL) 304 are represented within the computing system 300, according to one embodiment. The application instance 306 has access to data 308 within the computing system 300. Also, the application instance 306, through any number of standard and/or custom APIs, may utilize any of a plurality of data socket descriptors (e.g., data socket descriptor #0 312, data socket descriptor #1 314, data socket descriptor #2 316, . . . , data socket descriptor #N 318) with which to communicate (send and/or receive) information outside of the application instance 306 or computing system 300. One or more server base sockets 310 is provided in the application instance 306 of computing system 300 and is used for control of the peer application instances on the computing system 300, outside the system, or outside the application instance 306 itself, as would be understood by one of skill in the art.

Many, but not all, scaled-out enterprise applications, such as those used in the fields of finance, banking, stock market investing, monetary analytics, web traffic analytics, data analytics, web searching, etc., have built-in capabilities that allow an individual instance of a scaled-out distributed application to protect itself from malicious software and data breaches. Many of the operating systems on which these scaled-out enterprise applications operate also have capabilities to protect themselves from external denial of service attacks, application vulnerability attacks, data stealing malware attacks, etc. The individual applications and operating systems perform these security capabilities using multiple built-in techniques, some of which are discussed below. For example, most database systems have the following capabilities:

-   -   1. Policy-based data redaction     -   2. Programmable cache flushing     -   3. Memory protection or locking     -   4. Database locking (including locking one or more individual         rows and/or columns of a database)     -   5. Secure Socket Layer (SSL) capabilities to encrypt transport         payload(s)     -   6. Partial application-payload encryption     -   7. Distributed denial of service (DDoS) checks     -   8. Protocol anomaly checks     -   9. Other standard and proprietary protections not listed above

Although, these features partially protect an individual application instance or database, they fail to protect the complete distributed application system as a scaled out and/or distributed application. Various parts or portions of the application have differing capabilities to protect themselves. When the applications in a data center or enterprise are allowed to exchange their own capabilities of protection with each other using secure exchange information, the complete application ecosystem would be allowed to take advantage of the individual application's capabilities and enable a correct or most appropriate response decision about the systemic and session level security issues facing one or more distributed application instances.

In order to provide application and data protection to application instances of distributed, scaled-out applications which have instances operating on a plurality of computing systems, at least two operations may be performed, and are described below according to one embodiment.

In a first operation, application instances, such as application instance 306, are identified based upon data socket descriptor attributes that an application instance uses to communicate between other application instances and/or group(s) of application instances on/or outside of the computing system 300. For example, in response to application instance 306 utilizing data socket descriptor #0 312 consistently to communicate with another system, an association may be established between data socket descriptor #0 312 and the application instance 306. By consistently, what is meant is that application instance 306 utilizes data socket descriptor #0 312 to communicate with another system more than a predetermined number of times within a given period of time, according to one embodiment. In another embodiment, consistently utilizing a data socket descriptor means that only a specific data socket descriptor is used in exclusion of all others over a given period of time.

In a second operation, a group is formed which includes any application instance which has all of the same socket descriptor attributes (or at least a predetermined amount of the same socket descriptor attributes, or the same of a certain group of socket descriptor attributes), e.g., data exchange sockets of the same application base socket, transport protocol, server port, various multi-tenancy characteristics, storage characteristics, payload sizes, container attributes, and/or multiple time contexts are grouped together.

Any socket descriptor attributes may be considered when determining whether an application instance shares data socket descriptor attributes with another application instance, such as OS and container attributes which include server port, transport protocol, network address translation (NAT) IP address range, maximum transmission unit (MTU), application payload sizes, user programmable attributes such as multi-tenancy labels etc.

Using the above two operations, two layers of protection (application protection and data protection) are enacted together to protect the application (not shown) from which the application instance 306 is provided and any group of application instances related to the application that provides the application instance 306.

FIG. 3 shows the Application and Data Protection Layer (ADPL) libraries which keep track of the server base socket 310 and various data socket descriptors 312, 314, 316, . . . , 318 opened by an application instance 306 for communication of data with one or more peer applications outside of the computing system 300. The data socket descriptors 312, 314, 316, . . . , 318 are used for the exchange of data with another system outside of the computing system 300.

The data socket descriptors 312, 314, 316, . . . , 318 are numbers that represent attributes and/or characteristics of different data exchanges between the application instance and one or more receiver hosts. Each data socket descriptors 312, 314, 316, . . . , 318 may have a size ranging from 12 to 48 bits, such as 32 bits in one embodiment.

Each of the Application Protection Layer (APL) 302 and the Data Protection Layer (DPL) 304 utilize individual sets of application programming interfaces (APIs) that are configured to piggyback on existing APIs, but add specialized functionality to any action performed using the existing APIs.

These new socket APIs and data protection APIs, and the type of application payload sent and received, do not disturb the intermediate security appliances such as firewall, Intrusion Prevention and Intrusion Detection, etc.

The application instance 306 utilizes the one or more server base socket(s) 310 with standard and/or private well-known port number(s) as a control socket, but opens a new data socket descriptor and allocates a different port number to the new data socket descriptor in order to handle actual functionality and data transfer between the computing system 300 and any other external or peer system.

The server base socket 310 has the following attributes and/or characteristics:

-   -   10. A server and/or a source internet protocol (IP) interface.     -   11. A standard and/or known server port number, e.g.,         transmission control protocol (TCP) port, user datagram protocol         (UDP) port, etc.     -   12. A maximum number of allowable waiting connections.     -   13. A maximum (and possibly minimum) application packet buffer         size usable for transmitting and receiving data.     -   14. Other socket options provided by the operating system, the         user, or an external input.

The above described attributes and/or characteristics may also be attributed to the plurality of allocated data socket descriptors 312, 314, 316, . . . , 318. When a connection is established between the computing system 300 and another system via the application instance 306, a data socket descriptor is allocated. The allocated data socket descriptor has the following attributes and/or characteristics:

-   -   1. A server and/or a source IP interface.     -   2. A standard and/or known server port number, e.g., TCP port,         UDP port, etc.     -   3. A maximum number of allowable waiting connections.     -   4. Application packet buffer size for transmit and receive.     -   5. A port number of the transport of the allocated data socket         descriptor (in the computing system 300).     -   6. An IP address of the peer data socket descriptor (in an         external system) of the allocated data socket descriptor         (usually, but not always, in TCP sockets).     -   7. A port number of the transport of the peer data socket         descriptor of the allocated data socket descriptor in all cases         of controlled port allocations by the application instance 306.     -   8. A maximum (and possibly minimum) application packet buffer         size usable for transmitting data to and receiving data from         (transmissions with) the peer data socket descriptor.

Apart from the above described characteristics and/or attributes, additional characteristics that may be attributable to an allocated data socket descriptor include:

-   -   9. A first identifier (ID1): a globally unique identification         number given for an entity (such as an enterprise, company,         university, city subdivision, etc.) that utilizes the ADPL         mechanism in the application instances or programmed for         proprietary purposes     -   10. A second ID (ID2): a unique identification number within the         entity (not necessarily globally unique). Each ID2 represents a         subdivision within the entity, such as an individual business         unit within an enterprise, a water district within a city, etc.,         or programmed for proprietary purposes.     -   11. Secure base signature: a base signature or scrambled         alphanumeric or numerical code used in the generation of         signatures per data socket descriptor.     -   12. Secure runtime signature: a scrambled alphanumeric or         numerical code used as a signature on a per data socket         descriptor basis.     -   13. Application name: a name given to the application instance         operating on the computing system.     -   14. Application ID: an identification number provided to the         application instance operating on the computing system.     -   15. Process ID: an identification number provided to a         particular process which is accountable for the data.     -   16. Server port: the particular port on the server on which data         is received or sent.     -   17. Transport protocol: the particular transport protocol used         to send data.     -   18. Base Crypto Version: the version of the cryptographic         process used to encrypt data.     -   19. Co-Lo Need: Co-locationing criterions where applications or         application instances may reside together in the same server,         server pool, rack, pod, or data center.     -   20. Architecture Tier: a tier within the system architecture on         which the (web, application, database, etc.) operates.     -   21. Storage Attachments: an attribute that describes how the         storage is attached to the computing system (e.g., direct,         network, distributed, etc.)     -   22. Proprietary Multi-Tenant Label: a label within the ADPL tag         which designates some information selectable by the user.

These unique attributes when combined together in one of many different variations, are able to identify a data socket descriptor, and locks that data socket descriptor to one particular instance of a scaled-out application group.

Highly scaled-out and distributed enterprise applications typically run on physical servers with about 2 TB of DRAM and 32 MB of cache, or more. When access to a database is requested, the whole database in un-encrypted form is fetched into the memory (in-memory) and held in clear-text for processing. This mechanism is referred to as “in-memory database.” In-memory database processing provides a performance boost of almost 200 times over conventional processing which relies on fetching database records from disk storage to memory. In-memory database processing also involves processing whole rows or columns of data in cache. Although, these types of enterprise application architectures provide very high performance and scalability, they suffer from application and data security challenges. These applications exchange huge amounts of data in an East-West (E-W) manner with instances of the application. A huge amount of E-W communication and a huge amount of data in memory and cache causes these application instances to be prime targets for data breaches and/or application breaches.

In use cases like data center applications, there are two types of data traffic components: North-South (N-S) traffic and E-W traffic. N-S traffic is sent by internet-based clients and/or servers, to data center-based servers. It is mostly related to client queries, server responses, etc. This N-S interaction is exposed to hacking and data breaches since it occurs over public internet and communication links. Such interactions are usually highly encrypted for security purposes.

E-W traffic is generated within the data center by the application servers and sent therebetween in response to N-S interactions. The data traffic or interactions that are generated by application servers within themselves for regular non-query based purposes are also referred to as E-W traffic. Since E-W communication occurs within the data center behind a firewall, typically E-W communication is not encrypted. Encrypting/decrypting such data may cause performance degradation of the data center application.

Usually, application security is attempted by applying policies and rules at various levels in security appliances and/or load balancing appliances in data centers. However, in spite of providing layers of security appliances to create a security perimeter, polymorphic malware and malicious software is able to enter inside the servers in the data center to steal data and attack applications. Enterprise database applications for financial companies, such as banks, insurance companies, and credit card companies, are extremely vulnerable to data theft by various methods and various types of attacks, including spoofing, cache scraping, memory scraping, etc. Spoofing occurs when malicious code mimics real application transmission in order to obtain data that it is not authorized to obtain. Cache scraping occurs when malicious code searches the cache for data that may be sensitive in nature and copies the data or strips some or all of the data from the cache so that it may be utilized by inappropriate entities. Memory scraping is similar, except that the memory may hold large amounts of application data as well as the in-memory database which receives attacks for data stored therein.

However, due to breaches in the data center, such E-W communication is also exposed to malware applications which are able to attack application and data using awareness of the communication mechanism used by the data center application.

To protect data in messages, data encryption may be utilized. Two high level methods of key generation and key usage for data encryption include symmetric encryption and asymmetric encryption. Symmetric encryption utilizes a secret key, which may be a number, a word, or just a string of random alphanumeric characters, and is applied to a data encryption/decryption mechanism. As long as the sender and receiver know the secret key, each may encrypt and decrypt messages transferred therebetween. The problem with this mechanism is the act of exchanging the secret keys over the communication links is prone to breaches. If the secret key is obtained by a bad actor, the data in messages sent between the sender and receiver may be decrypted or encrypted by that bad actor causing damage to the applications and data.

Asymmetric encryption exists to circumvent the problem of sending secret keys over the communication links, and utilizes a public key and private key concept where encryption is performed using a public key and decryption is performed using a private key only. The public key is published to all the senders of the data to encrypt before sending, whereas a private key is used only by the individual receiver to decrypt the data. In this case, only the private key is able to decrypt the data.

There are two problems with both approaches: each approach adds performance penalties to data transfer due to encryption and decryption of every packet exchanged; and data is exposed to malware applications which may also interact with the originator application. This issue is also called spoofing which has the potential to damage the application and data. Also, the keys for encryption and decryption are static for the whole session, as they do not change during the lifetime of the communication session.

Many databases provide features that may be used to address these forms of attack. One such feature, referred to as run-time results-cache flush, is used to flush the cache (e.g., discard all data in the cache) according to some static schedule or in response to performance issues. One problem with this approach is that the cache flush is performed, typically, to achieve performance enhancements instead of protecting data. A cache flush may be performed in this approach at times when new data needs to be processed by fetching it from the memory.

Another feature is data redaction, in which sensitive data may be redacted and/or masked from transmissions according to a static policy, which typically indicates that all data that conforms to a certain type is redacted from transmissions. One problem with this approach is that the redaction policies are statically applied depending upon the access levels of the client who is seeking the data and do not redact data if the query owner has administrative credentials.

Yet another feature is locking of in-memory database(s). In this feature, an entire database table is locked, or specific row(s) or column(s) of the database table are locked. The database locking may be programmatically applied to avoid un-authorized access to the database(s). The problem with the current implementation of this feature is that the database locking is typically performed according to some static policy. Most of the times, the in-memory database(s) are locked without understanding the security situation in which the application(s) must deal with. A vast majority of the time, the database locking mechanism is not used at all since it creates functional and performance issues, and therefore is not a preferred approach in current implementations.

With scaled-out database applications, clustered databases, and/or distributed database applications, the application servers or database servers are scattered all over the data center. Huge amounts of data is exchanged between these application instances over the networks, which are intended to be highly protected from outside entities. However, in reality, most of the datacenter breaches occur from within the datacenter. The various application instances operating within the datacenter are not aware of their surroundings, not aware of a security status of the physical servers they are running on, and not aware of the security status of peer application instances they are sharing data with. The security status refers to a security profile or malware infection level of the hosts. Almost all of the datacenter applications share data with each other without knowing the security profiles of each other, thereby leading to data breaches or data stealing by malware and malicious code using server application vulnerabilities.

To better protect data in messages sent between secure servers and/or hosts in a network, a new mechanism is described which enables applications to interact with each other without encrypting data included in the messages, and also protects against spoofing. Only a small percentage of bytes of the data are encrypted in this mechanism, and even this small amount of encryption is optional and is utilized to provide additional security. The encrypted data carries certain uniquely generated keys across the communication links. The unique keys are only generated by the source of the message and are identified by destination. Thus, the message is protected against any intermediate devices or routines or spoofing attacks on the application.

In another embodiment, this mechanism may factor in an input from Institute of Electrical and Electronics Engineers (IEEE) 1588 clock synchronization, also referred to as a Precision Time Protocol (PTP) mechanism, along with other dynamic factors in the generation of a unique key. Every time a key is generated, a time stamp from a synchronized clock is obtained and used in the algorithm that generates the unique key. The clock may be synchronized using the PTP mechanism or some other synchronization mechanism known in the art.

This gives time context to the key generation algorithm along with other contexts. When PTP synchronizes clocks for all servers and/or hosts in the network, all the servers and/or hosts have precisely the same time. Therefore, the message originator (which also generates the unique key) and a receiver of the message (which also receives the unique key) observe a delay equivalent to a transit delay, to send the message between the originator and receiver. This mechanism makes it difficult to predict or generate the keys used in the transmissions for any other entity outside the intended source/receiver. Thus, this mechanism protects data and applications from any intermediate devices or routines or spoofing attacks on the application.

Now referring to FIG. 4, three instances of an application, Application instance A 402, Application instance A′ 404, and Application instance A″ 406 are shown running in a virtual environment 400 on one or more virtual platforms, such as hypervisors. An ADPL 408 provided by secure APIs called by the hosts, Host A 410, Host A′ 412, and Host A″ 414, enables application protection via policies and also provides data protection by sharing a security status and security profile with any peer application instances operating on other hosts (Application instance A 402 is a peer to Application instance A′ 404, Application instance A′ 404 is a peer to Application instance A″ 406, Application instance A″ 406 is a peer to Application instance A 402, and so forth). Using the security profile of the peer application instance, the protected application instance is provided the capability to apply various data security mechanisms to protect itself from malicious code and data breach attacks.

New data socket APIs and data protection APIs that are utilized to provide the protection do not disturb any intermediate security appliances used in the network and/or on the servers or hosts, such as a firewall 416, an Intrusion Prevention System (IPS) 418, an Intrusion Detection System (IDS) 420, etc.

The new data socket APIs and/or libraries are used to exchange information regarding an application or application instance's (e.g., application instance 402, 404, 406, etc.) own security capabilities with other peer applications and application instances (e.g., application instance 402, 404, 406, etc.), as well as to exchange and/or provide information regarding the application or application instance's (e.g., application instance 402, 404, 406, etc.) own security capabilities to one or more various security devices, security appliances, etc. (e.g., firewall 416, IPS 418, IDS 420, etc.), that may be operating within a network or data center (e.g., virtual environment 400).

Through similar APIs, applications and application instances (e.g., application instance 402, 404, 406, etc.) receive security capabilities and interpret these received security capabilities from other peer applications and application instances (e.g., application instance 402, 404, 406, etc.) to understand what sort of security each peer application and application instance (e.g., application instance 402, 404, 406, etc.) is capable of. This process does not interfere with the application architecture and its normal behavior. Through this exchange process, each application and application instance (e.g., application instance 402, 404, 406, etc.) is afforded additional capabilities for infrastructural help and to know the security capabilities of virtual and/or physical servers (e.g., Host A′ 410, Host A″ 412, Host A′″ 414, etc.) that execute the applications and application instances (e.g., application instance 402, 404, 406, etc.) within the network and/or data center, the security capabilities of other peer applications and application instances (e.g., application instance 402, 404, 406, etc.) and their virtual and/or physical servers, etc. Moreover, the ADPL which protect the applications and application instances (e.g., application instance 402, 404, 406, etc.) by protecting the data socket descriptors may also receive the applications' and application instances' capabilities and in return, utilize these capabilities to cause applications and application instances (e.g., application instance 402, 404, 406, etc.) to use these capabilities dynamically depending upon security profiles of individual sessions.

The security profiles of individual sessions are obtained by the ADPL 408 using its built-in capability for distributed applications. Based on the comprehensive status of servers and the network, the APIs provide feedback per data socket descriptor to the applications and application instances (e.g., application instance 402, 404, 406, etc.) and also suggests use of their own security capabilities to protect themselves as well as to clear data being exchanged with peers or clients.

The ADPL 408 around the socket descriptors for database applications creates a mapping of security profile policies with the application per data socket descriptor to perform various security feature functionality, such as dynamic cache flush, dynamic data redaction, locking of in-memory database(s), etc. These security features are configured to be applied on a per application instance per session basis. As a result, a database server is allowed to enact a dynamic security feature depending upon the security profile of that particular session at that time, thereby avoiding cache scraping, data breaches, or other unwanted intrusion by malware or nefarious applications.

FIG. 5 shows exchange of security capabilities with intermediate device(s) 530 and peer application(s) and application instance(s) 514 in a network 500, according to one embodiment. This exchange may take place in accordance with what is referred to as Security Capabilities Exchange Protocol (SCEP) in one approach.

At application boot up or start time (or some other time shortly after the application instance 504 has begun operating on its host or server), the application instance 504 calls one or more ADPL APIs provided by the ADPL 502 that enable the application instance 504 to inform the ADPL 502 about security capabilities and/or features that are installed and/or accessible to the application instance 504. This information may be exchanged with the ADPL 502 via a protocol data unit (PDU) that is configured to transmit such information, in one embodiment.

In one embodiment, the application instance 504 (and any other application or application instance operating in the network 500) may be configured to access data 506 that is stored for the application instance 504, shown as access operation 510. This operation 510 takes place using conventional APIs and/or routine functionality of the application instance 504, except that any access of the data 506 is protected by the ADPL 502 through API extensions and/or ADPL APIs that piggyback on the conventional APIs used to access the data 506.

Moreover, according to one embodiment, the ADPL 502 protecting the application instance 504 (and any other ADPL protecting an application or application instance operating in the network 500) may be configured to exchange security capability information via one or more data socket descriptors 508 with one or more peer application(s) and/or application instance(s) (shown as peer application instance 514 in FIG. 5, but any number of peer applications and/or application instances may have security capabilities exchanged therewith) via one or more data socket descriptors 518 of the peer application instance 514. The security capabilities are exchanged via the ADPL 502 protecting the application instance 504 that exchanges (sends and/or receives) the security capabilities with an ADPL 512 protecting the peer application instance 514 in exchange operation 532. This exchange 532 may take place during a connection setup process for transmission control protocol (TCP) or before the data exchange for user datagram protocol (UDP) in some approaches, or at some other convenient time. In this way, the ADPL 502 utilizes data socket APIs to exchange security capabilities and/or features of the local application instance 504 with one or more peer application(s) and application instance(s) (e.g., peer application instance 514) operating in the network 500.

For unicast sessions, the capabilities are exchanged per application per server basis in one approach. For multicast sessions, the capabilities are optionally sent over open UDP data sockets in another approach.

Thereafter, the peer application instance 514, upon receiving the security capabilities and/or features of application instance 504 is configured to build a table of security capabilities for each peer application (per host) in the network 500. Moreover, the application instance 504, upon receiving security capabilities and/or features of peer application instance 514 is configured to build a table of security capabilities for each peer application (per host) in the network 500. This allows all peer application(s) and application instance(s) in the network 500 to realize and store the security capabilities and features of all peer applications and application instances in the network 500, so that such functionality may be leveraged in future operations that may be aided by the use of a peer application's security capabilities.

The decision of whether to use security capabilities and/or features of a peer application (e.g., peer application instance 514) in a transmission to/from the peer application and local application (e.g., application instance 504) may be based on a security profile of either the peer application instance 514 and/or the application instance 504 active in the transmission.

Moreover, application instance 504, via one or more APDL APIs, is configured to cause the peer application instance 514 to apply one or more security capabilities and/or features to a corresponding session designated with a data socket descriptor between the application instance 504 and the peer application instance 514.

Any modifications, additions, and/or deletions of security capabilities and/or features on an application or application instance within the network 500 is relayed to all other peer applications and/or application instances via one or more existent sessions between peer applications and/or new sessions established to relay this updated information.

Also, in one embodiment, the peer application instance 514 (and any other application or application instance operating in the network 500) may be configured to store data 516 for the peer application instance 514, shown as store operation 520. This operation 520 takes place using conventional APIs and/or routine functionality of the peer application instance 514, except that storage of the data 516 is protected by the ADPL 512 through API extensions and/or ADPL APIs that piggyback on the conventional APIs used to store the data 516.

In another embodiment, the ADPL 502 protecting the application instance 504 (and any other ADPL protecting an application or application instance operating in the network 500) may be configured to exchange security capability information via one or more data socket descriptors 508 with one or more intermediate devices 530 (such as a firewall appliance 522, an IPS 524 an IPS 524, an IDS 526, other security appliances 528, etc.) in the network 500. For example, in FIG. 5, the ADPL 502 protecting the application instance 504 exchanges (sends and/or receives) security capabilities with a firewall appliance 522 in exchange operation 534 and exchanges (sends and/or receives) security capabilities with an IPS 524 in exchange operation 536.

Thereafter, the one or more intermediate devices 530, upon receiving the security capabilities and/or features of application instance 504, are configured to build a table of security capabilities per session (based on the data socket descriptor used to exchange the security capabilities and/or features of application instance 504) and per application (e.g., application instance 504) in the network 500.

FIG. 6 shows a block diagram of a key generator 600 according to one embodiment. The key generator 600 may be a hardware module or device that is included in a host and/or server on which an application operates, or may be a software module or routine which is executed within the host and/or server on which the application operates, or may include a combination of hardware and software components which together form the key generator 600, in various embodiments. In one embodiment, the key generator 600 may include a hardware processor, such as a microprocessor, an ASIC, a FPGA, or some other hardware processor known in the art, on which logic is integrated and/or executable.

In one embodiment, the key generator 600 includes an array of signature generator libraries 602, each of which includes an array of indexed signature generator functions 604, an index generator function 606, and an index change trigger function 608. Each of these components may have aspects thereof stored to a single memory, such as RAM, ROM, etc., or one or more of the components may be included in the key generator 600 as being stored to discrete memories. Moreover, one or more processors may be used to perform the various functionality of the components included in the key generator 600.

In one embodiment, each of the signature generator libraries 602 is a unique collection of signature generator functions 604, each signature generator function 604 being configured to generate a unique secure key. In a further embodiment, there are N signature generator functions 604 in one signature generator library, while there may be more or less than N signature generator functions 604 in other signature generator libraries. However, it is preferred that each signature generator library include N signature generator functions 604, even if this requires that some signature generator functions be duplicated for different indices.

According to one embodiment, the array of signature generator functions 604 are indexed (e.g., 0 to N) to allow for expedient searching and selection of signature generator functions. In a further embodiment, each of the array of signature generator functions 604 has a size of N×2, to account for the inclusion of the indices.

In another embodiment, the index generator function 606 is a dynamic function which utilizes various selectable and/or predetermined base parameters 6100 as inputs. The base parameters may be anything related to the current communication session, e.g., source IP, destination IP, transport port, random samples from data, various derivations from known parameters, etc. The index generator function 606 generates an index (i) that has a value in a range from zero to N in one embodiment.

According to yet another embodiment, an index change trigger function 608 comprises logic or functionality that causes the index generator function 606 to generate an index (I) once one or more conditions are satisfied that is different from the initial index (i) that would have been generated by the index generator function 606.

Once the Index (I) is generated by the index generator function 606, the appropriate signature generator library 602 is searched to obtain a signature generator function 612 from the array of signature generator functions 604 that has an index of I. This signature generator function 612 is then utilized to produce the secure key 614 for use in secure data transmissions.

In one embodiment, one the originator or sender application or device, an Application Administrator or an automated process chooses one of the plurality of signature generator libraries for a particular set of applications interacting together. Each of these applications has the capability to use signature generator functions and the capability to append an ADPL Tag in each packet sent to a peer application. Therefore, each peer application is compiled with signature generator libraries.

At application boot time, an application calls one or more APIs provided by the ADPL to initialize the array of signature generator libraries 602. Also, a sender application executes the index generator function 606. In one embodiment, this function may be represented by index(i)=Function(variable parameters list). These parameters may be chosen by an individual programmer, the Application Administrator, or some other automated routine, and may include any type of parameter associated with the components of the network or data center system. Here, “index” is an initial function number for use by the signature generator libraries. Thereafter, the index change trigger function 608 may cause the index (i) to change to Index (I). This may be represented, in one embodiment, as Index=Key Change Trigger Function (index), where “Index” is the final index of the signature generator function.

Using the index (i) or Index (I), the key generator function 612 is performed based on the index. This may be represented as Key=Generator Array[i,I].Function( ). Here, “Key” is a value that is used for various purposes, including being added into the ADPL Tag and/or sent in an encrypted form over the communication link(s) to the receiver application.

In another embodiment, on the receiver application or device, the signature library that was previously chosen is identified and/or received. At application boot time, the receiver application calls one or more APIs provided by the ADPL to initialize the signature generator libraries 602.

Then, at transmission time, the receiver application receives a payload from one or more communication channels. In one embodiment, an ADPL Tag included in the payload is decrypted using a chosen mechanism in response to a determination that the ADPL tag is encrypted. Next, the secure key is obtained from the ADPL Tag, whether originally encrypted or not. Also, all the variable parameters associated to that application in the network are collected to calculate the “index” value. Using these parameter values and the index generator function 604, the “index” value is calculated. Moreover, when the conditions are met, an “Index” value is calculated using the index change trigger function 608.

Using the Index value (I) or the index value (i), the key generator function 612 is performed based on the index. This may be represented as Key=Generator Array[i,I].Function( ). Here, “Key” is a value that is used for various purposes, including being added into the ADPL Tag and/or received in an encrypted form over the communication link(s) from the originator application.

Then, the “Key” obtained through the key generator function 612 is compared with the “Key” retrieved from the received ADPL Tag from the received payload. In response to the keys being the same, it is assumed that the payload may be trusted; otherwise, the payload is not trusted.

In further embodiments, an untrustworthy payload may be dropped and/or statistics may be collected about the payload, such as where it originated, the type of payload, time, etc.

In a further embodiment, a clock time stamp function 616 may be included in the key generator 600. The clock time stamp function 616 may rely on PTP for synchronization of the clocks on various devices within the network, thereby ensuring clock synchronization between the originator and receiver applications.

In one embodiment, a clock synchronization mechanism is used and runs across participating end points, compute elements, hosts, and/or servers in the network. This clock synchronization mechanism may rely on the IEEE 1588 standard, e.g., PTP.

In this embodiment, the parameters 610 that are used by the index generator function 606 include a time stamp from the clock time stamp function 616. Therefore, the index (i) that is generated by the index generator function 606 is affected by the time stamp.

On an originator application, clocks are caused to be synchronized on the originator application host and a receiver application host, such as via PTP or some other mechanism capable of clock synchronization, and possibly using a master clock that may be one of the hosts or an outside source. Moreover, changes in time zone, dateline, etc., are taken into account in the synchronization. dT is referred to as the difference in time between the hosts (such as due to time zones, etc.) when they do not share the same time.

When a communication session is established, the two hosts take a sample of their synchronized clocks (time stamps T(a) and T(b)) and exchange these time stamps with each other. Once the time stamps are received by each host, both of the hosts calculate a transit delay time by comparing with their own clocks to the received timestamps. These transit delays are referred to as D(a) and D(b).

Then, the index generator function 606 on the originator host takes the timestamp and various dynamic parameters from the communication session, e.g., source IP, destination IP, transport port, random samples from data, various derivations from known parameters, etc., to generate an index (i).

On the receiver application side, the receiver application on the receiver host receives a message with a unique secure key therein or an encrypted message with a certain unique derived key. The receiver index generator function 606 is used to obtain the same various dynamic parameters from the communication session, e.g., source IP, destination IP, transport port, samples from data, various derivations from known parameters, etc., to generate an index (i). This index (i) points to a signature key generator function 612 in the array of signature generator functions 604. The key generator function 606 takes [T(B)−D(b)+/−dT+round-off adjustment] as a current timestamp from the synchronized clock along with other parameters for key generation. In this equation T(B) is the time at the receiver host, D(b) is the transit delay calculated by the receiver host, and dT is the time difference between the originator and receiver. The round-off adjustment is used to round down the calculated number to a predetermined number of decimals that are able to be reproduced under normal operating conditions when exchanging timestamps during origination of the communication session.

In response to the keys being the same, it is assumed that the payload may be trusted; otherwise, the payload is not trusted. Various additional actions may be performed in response to the payload being untrustworthy.

Now referring to FIG. 7, a flowchart of a method 700 is shown according to one embodiment. The method 700 may be performed in accordance with the present invention in any of the environments depicted in FIGS. 1-6, among others, in various embodiments. Of course, more or less operations than those specifically described in FIG. 7 may be included in method 700, as would be apparent to one of skill in the art upon reading the present descriptions.

Each of the steps of the method 700 may be performed by any suitable component of the operating environment. For example, in various embodiments, the method 700 may be partially or entirely performed by a server, host, computing system, processor, switch, or some other device having one or more processing units therein. The processing unit, e.g., processing circuit(s), chip(s), and/or module(s) implemented in hardware and/or software, and preferably having at least one hardware component, may be utilized in any device to perform one or more steps of the method 700. Illustrative processing units include, but are not limited to, a central processing unit (CPU), an ASIC, a FPGA, etc., combinations thereof, or any other suitable computing device known in the art.

As shown in FIG. 7, method 700 may initiate with operation 702, where a plurality of base parameters commonly identifiable by a sender host and a receiver host are selected. Any common parameters may be selected, such as source IP address, destination IP address, transport port, samples from data, various derivations from known parameters, etc. In more approaches, a time stamp may be included in the parameters used.

In operation 704, at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters is determined. Any suitable external events may be chosen, such as detection of a data breach, malicious software, unusual transmission activity from one or more hosts within a network, a change in minute, hour, day, etc.

In operation 706, a unique security key is generated using the plurality of base parameters in response to a determination that the at least one external event has not occurred. The unique security key may be generated using a signature generator function selected from an array of signature generator functions stored in a selectable generator function library chosen from a plurality of generator function libraries available to the sender host and the receiver host. The array of signature generator functions are indexed to a value, and the value is generated by an index generator function that uses the plurality of base parameters to calculate an index used to select the index generator function.

In operation 708, the unique security key is generated using the plurality of changed parameters in response to a determination that the at least one external event has occurred. Again, the unique security key may be generated using a signature generator function selected from an array of signature generator functions stored in a selectable generator function library chosen from a plurality of generator function libraries available to the sender host and the receiver host. The array of signature generator functions are indexed to a value, and the value is generated by an index generator function that uses the plurality of changed parameters to calculate an index used to select the index generator function.

In a further embodiment, method 700 may include choosing a different generator function library from the plurality of generator function libraries available to the sender host and the receiver host in response to a data breach being detected at either the sender host or the receiver host.

In operation 710, a message including the unique security key is sent by the sender host to the receiver host. The message may be sent over any communication links between the hosts, and may be delivered outside of a data center or network environment, across the Internet, before arriving at the receiver host.

In one embodiment, the unique security key may be encrypted but a remainder of the message may be unencrypted.

According to another embodiment, the unique security key may be included in an ADPL tag that is stored in the message or a header of the message.

In a further embodiment, method 700 may include receiving, by the receiver host, the message including the unique security key; extracting the unique security key from the message; generating a second security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred; generating the second security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred; comparing the unique security key to the second security key; marking the message as trustworthy in response to the unique security key matching the second security key; and marking the message as untrustworthy in response to the unique security key not matching the second security key.

This marking may be used to determine whether the message should be processed by the receiver host or not. Moreover, certain actions may be performed on untrustworthy messages and hosts that send such messages, such as quarantining the host, dropping the message, refusing any further transmissions from the host, etc.

In another embodiment, method 700 may include generating the unique security key using a time stamp taken from a clock of the sender host that is synchronized to a clock of the receiver host. Moreover, the unique security key may be generated using a time stamp taken from a clock of the sender host that is synchronized to a clock of the receiver host.

In a further embodiment, method 700 may include generating a new unique security key for each message sent to the receiver host. In this way, each new message is protected by a unique security key that is very difficult to duplicate without being an authorized member of the communication session.

Method 700 may be implemented as a system, process, or a computer program product. As a system, method 700 may be implemented on the first host and/or the second host as logic configured to perform method 700, along with being implemented on any other hosts on which secure communications are desired. As a computer program product, a computer readable storage medium may store program instructions configured to perform method 700.

For example, a system may include a processing circuit and logic integrated with and/or executable by the processing circuit. The processing circuit is a non-transitory hardware device configured to execute logic embedded therein, or provided thereto. Examples of processing circuits include, but are not limited to, CPUs, ASICs, FPGAs, microprocessors, integrated circuits, etc. The logic is configured to cause the processing circuit to execute method 700 in one embodiment.

In another example, a computer program product may include a computer readable storage medium having program instructions stored thereon. The computer readable storage medium is a non-transitory device configured to store program instructions that are executable and/or readable by a processing circuit. The program instructions are executable by a processing circuit to cause the processing circuit to perform method 700 in accordance with one embodiment.

Variations of the systems, methods, and computer program products described herein are also possible, and the explicit description thereof in this document is not required in order to provide those of skill in the art with the ability to conceive of such variations when reading the present descriptions. 

What is claimed is:
 1. A method of protecting distributed and/or scaled-out applications within a network environment, comprising: selecting a plurality of base parameters commonly identifiable by a sender host and a receiver host; determining at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters; in response to determining that the at least one external event has not occurred, generating, within an application data protection layer (ADPL), a unique security key using the plurality of base parameters; in response to determining that the at least one external event has occurred, generating, within the ADPL, the unique security key using the plurality of changed parameters; and sending, by the sender host, a message including the unique security key to the receiver host; and wherein the ADPL is configured to protect applications and/or application instances running within the network environment via one or more data socket descriptors associated with the applications and/or application instances.
 2. The method as recited in claim 1, wherein the unique security key is generated using a signature generator function selected from an array of signature generator functions stored in a selectable generator function library chosen from a plurality of generator function libraries available to the sender host and the receiver host, the array of signature generator functions being indexed to a value, the value being generated by an index generator function that uses the plurality of base parameters or the plurality of changed parameters to calculate an index used to select the index generator function; and the method further comprising choosing a different generator function library from the plurality of generator function libraries available to the sender host and the receiver host in response to a data breach being detected at either the sender host or the receiver host.
 3. The method as recited in claim 1, wherein protecting, using the ADPL, the applications and/or application instances comprises mapping security profile policies associated with the applications and/or application instances to the data socket descriptors associated with the applications and/or application instances.
 4. The method as recited in claim 1, wherein the external event is selected from: detection of a data breach within a network including the receiver host and the sender host, detection of malicious software within the network, detection of unusual transmission activity from one or more hosts within the network, detection of a change in time according to one or more hosts within the network, and combinations thereof.
 5. The method as recited in claim 1, wherein the unique security key is included in an application and data protection layer (ADPL) tag that is stored in the message or a header of the message; and wherein the unique security key is encrypted but a remainder of the message is unencrypted.
 6. The method as recited in claim 1, further comprising: receiving, by the receiver host, the message including the unique security key; extracting the unique security key from the message; generating a second security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred; generating the second security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred; comparing the unique security key to the second security key; marking the message as trustworthy in response to the unique security key matching the second security key; and marking the message as untrustworthy in response to the unique security key not matching the second security key.
 7. The method as recited in claim 1, further comprising: generating the unique security key using a time stamp taken from a clock of the sender host that is synchronized to a clock of the receiver host; and generating a new unique security key for each message sent to the receiver host.
 8. The method as recited in claim 1, wherein protecting the applications and/or application instances comprises: identifying the application instances based upon one or more data socket descriptor attributes used by each application instance to communicate with other application instances; grouping application instances which share common socket descriptor attributes; and sharing security capabilities and/or features among all grouped applications instances.
 9. A computer program product for protecting distributed and/or scaled-out applications within a network environment, comprising a computer readable storage medium having program instructions stored thereon, the program instructions being executable by a processing circuit to cause the processing circuit to: select a plurality of base parameters commonly identifiable by a sender host and a receiver host; determine at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters; in response to determining that the at least one external event has not occurred, generate, within an application data protection layer (ADPL), a unique security key using the plurality of base parameters; in response to determining that the at least one external event has occurred, generate, within the ADPL, the unique security key using the plurality of changed parameters; and send, by the sender host, a message including the unique security key to the receiver host; and wherein the ADPL is configured to protect applications and/or application instances running on the sender host by protecting one or more data socket descriptors associated with the applications and/or application instances.
 10. The computer program product as recited in claim 9, wherein the unique security key is generated using a signature generator function selected from an array of signature generator functions stored in a selectable generator function library chosen from a plurality of generator function libraries available to the sender host and the receiver host, the array of signature generator functions being indexed to a value, the value being generated by an index generator function that uses the plurality of base parameters or the plurality of changed parameters to calculate an index used to select the index generator function.
 11. The computer program product as recited in claim 10, wherein the program instructions further cause the processing circuit to choose a different generator function library from the plurality of generator function libraries available to the sender host and the receiver host in response to a data breach being detected at either the sender host or the receiver host.
 12. The computer program product as recited in claim 9, wherein the unique security key is part of an application and data protection layer (ADPL) tag stored in the message sent to the receiver host and informs the receiver host whether to apply one or more security actions to the message.
 13. The computer program product as recited in claim 9, wherein the unique security key is included in an application and data protection layer (ADPL) tag that is stored in the message or a header of the message; and wherein the unique security key is encrypted but a remainder of the message is unencrypted.
 14. The computer program product as recited in claim 9, wherein the program instructions further cause the processing circuit to: receive, by the receiver host, the message including the unique security key; extract the unique security key from the message; generate a second security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred; generate the second security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred; compare the unique security key to the second security key; mark the message as trustworthy in response to the unique security key matching the second security key; and mark the message as untrustworthy in response to the unique security key not matching the second security key.
 15. The computer program product as recited in claim 9, wherein the program instructions further cause the processing circuit to generate the unique security key using a time stamp taken from a clock of the sender host that is synchronized to a clock of the receiver host.
 16. The computer program product as recited in claim 9, wherein the ADPL comprises an application protection layer (APL) and a data protection layer (DPL); wherein the APL provides application protection capabilities based on one or more predefined security policies; and wherein the DPL provides data protection capabilities based on security status information and security profile information shared among the applications and/or application instances.
 17. The computer program product as recited in claim 9, wherein the unique security key is generated using a signature generator function selected from an array of signature generator functions stored in a selectable generator function library chosen from a plurality of generator function libraries available to the sender host and the receiver host, the array of signature generator functions being indexed to a value, the value being generated by an index generator function that uses the plurality of base parameters or the plurality of changed parameters to calculate an index used to select the index generator function; wherein the unique security key is included in an application and data protection layer (ADPL) tag that is stored in the message or a header of the message; wherein the unique security key is encrypted but a remainder of the message is unencrypted; and wherein the program instructions further cause the processing circuit to: choose a different generator function library from the plurality of generator function libraries available to the sender host and the receiver host in response to a data breach being detected at either the sender host or the receiver host; and generate a new unique security key for each message sent to the receiver host.
 18. A system for protecting distributed and/or scaled-out applications within a network environment, the system comprising: a sender host having a processing circuit and logic integrated with and/or executable by the processing circuit, the logic being configured to cause the processing circuit to: select a plurality of base parameters commonly identifiable by a sender host and a receiver host; determine at least one external event that triggers a change in selection of the plurality of base parameters to a plurality of changed parameters; in response to determining that the at least one external event has not occurred, generate a unique security key using the plurality of base parameters; in response to determining that the at least one external event has occurred, generate the unique security key using the plurality of changed parameters; and send, by the sender host, a message including the unique security key to the receiver host; and wherein the unique security key is part of an application and data protection layer (ADPL) tag stored in the message sent to the receiver host and informs the receiver host whether to apply one or more security actions to the message.
 19. The system as recited in claim 18, wherein the logic further causes the processing circuit to generate the unique security key using a time stamp taken from a clock of the sender host that is synchronized to a clock of the receiver host.
 20. The system as recited in claim 18, further comprising the receiver host having a second processing circuit and second logic integrated with and/or executable by the second processing circuit, the second logic being configured to cause the second processing circuit to: receive, by the receiver host, the message including the unique security key; extract the unique security key from the message; generate a second security key using the plurality of base parameters in response to a determination that the at least one external event has not occurred; generate the second security key using the plurality of changed parameters in response to a determination that the at least one external event has occurred; compare the unique security key to the second security key; mark the message as trustworthy in response to the unique security key matching the second security key; and mark the message as untrustworthy in response to the unique security key not matching the second security key. 